export interface ElderlyParams {
 
    page?: number,
    pageSize?: number
}
 

export interface ElderlyListResponse {
    counts: number;
    pageSize: number;
    list: Elderly[];
}


export interface Health {
    oldillness: string;
    nowillness:  string;
    otherillness: string;
    otherCase: string;
}

export interface SelfCare {
    name: string;
    val: string;
}

export interface Checkup {
    name: string;
    picture: string;
}

export interface FamilyMember {
    id?: number;
    name?: string;
    mobile?: string;
    idCard?: string;
    relation?: string;
    gender?: number;
    address?: string;
}

export interface Elderly {
    name?: string;
    mobile?: string;
    photo?: string;
    gender?: number;
    birthday?: string;
    nativePlace?: string;
    nation?: string;
    idCard?: string;
    politics?: string;
    socialCard?: string;
    marriage?: string;
    eduLevel?: string;
    education?: string;
    resident?: string;
    address?: string;
    health?: Health;
    selfCares?: SelfCare[];
    checkups?: Checkup[];
    family?: FamilyMember[];
}